/* eslint-disable */
/* prettier-ignore */
import * as React from 'react';

import { IPlaceholderIconProps, TPlaceholderMood } from '../UI/Placeholder/types';

export function TasksPlaceholderIcon({ mood }: IPlaceholderIconProps) {
  const iconsMoodMap: { [key in TPlaceholderMood]: React.ReactNode } = {
    good: (
      <svg width="100%" height="100%" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path d="M6 18C6 11.3726 11.3726 6 18 6H79.0294C82.212 6 85.2643 7.26428 87.5147 9.51472L98.25 20.25L110.485 32.4853C112.736 34.7357 114 37.788 114 40.9706V87C114 93.6274 108.627 99 102 99H18C11.3726 99 6 93.6274 6 87V18Z" fill="white" />
        <path d="M40.5 60C42.9853 60 45 57.9853 45 55.5C45 53.0147 42.9853 51 40.5 51C38.0147 51 36 53.0147 36 55.5C36 57.9853 38.0147 60 40.5 60Z" fill="#B9B9B8" />
        <path d="M84 55.5C84 57.9853 81.9853 60 79.5 60C77.0147 60 75 57.9853 75 55.5C75 53.0147 77.0147 51 79.5 51C81.9853 51 84 53.0147 84 55.5Z" fill="#B9B9B8" />
        <path d="M51 66C51 67.3293 51.7114 68.7615 53.3147 69.964C54.9189 71.1671 57.2726 72 60 72C62.7274 72 65.0811 71.1671 66.6853 69.964C68.2886 68.7615 69 67.3293 69 66C69 64.3431 70.3431 63 72 63C73.6569 63 75 64.3431 75 66C75 69.6413 73.0251 72.7091 70.2853 74.764C67.5464 76.8182 63.9001 78 60 78C56.0999 78 52.4536 76.8182 49.7147 74.764C46.9749 72.7091 45 69.6413 45 66C45 64.3431 46.3431 63 48 63C49.6569 63 51 64.3431 51 66Z" fill="#B9B9B8" />
        <path fillRule="evenodd" clipRule="evenodd" d="M111 33V33.0333C112.928 35.2188 114 38.0394 114 40.9706V87C114 93.6274 108.627 99 102 99H18C11.3726 99 6 93.6274 6 87V18C6 11.3726 11.3726 6 18 6H79.0294C81.9606 6 84.7812 7.07243 86.9667 9H87V9.02946C87.1758 9.18569 87.3475 9.34748 87.5147 9.51472L110.485 32.4853C110.653 32.6525 110.814 32.8242 110.971 33H111ZM12 87C12 90.3137 14.6863 93 18 93H102C105.314 93 108 90.3137 108 87V40.9706C108 40.2933 107.885 39.6278 107.667 39H96C87.7157 39 81 32.2843 81 24V12.3328C80.3722 12.1145 79.7067 12 79.0294 12H18C14.6863 12 12 14.6863 12 18V87ZM102.515 33L87 17.4853V24C87 28.9706 91.0294 33 96 33H102.515Z" fill="#B9B9B8" />
        <path fillRule="evenodd" clipRule="evenodd" d="M24 25.5C24 24.6716 24.6716 24 25.5 24L67.5 24C68.3284 24 69 24.6716 69 25.5C69 26.3284 68.3284 27 67.5 27L25.5 27C24.6716 27 24 26.3284 24 25.5Z" fill="#DCDCDB" />
        <path fillRule="evenodd" clipRule="evenodd" d="M24 31.5C24 30.6716 24.6716 30 25.5 30L49.5 30C50.3284 30 51 30.6716 51 31.5C51 32.3284 50.3284 33 49.5 33L25.5 33C24.6716 33 24 32.3284 24 31.5Z" fill="#DCDCDB" />
        <path d="M90 114C90 115.657 76.5685 117 60 117C43.4315 117 30 115.657 30 114C30 112.343 43.4315 111 60 111C76.5685 111 90 112.343 90 114Z" fill="#DCDCDB" />
      </svg>
    ),
    bad: (
      <svg width="120" height="120" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path d="M6 18C6 11.3726 11.3726 6 18 6H34.0294C37.212 6 40.2643 7.26428 42.5147 9.51472L47.4853 14.4853C49.7357 16.7357 52.788 18 55.9706 18H102C108.627 18 114 23.3726 114 30V87C114 93.6274 108.627 99 102 99H18C11.3726 99 6 93.6274 6 87V18Z" fill="white"/>
        <path d="M40.5 60C42.9853 60 45 57.9853 45 55.5C45 53.0147 42.9853 51 40.5 51C38.0147 51 36 53.0147 36 55.5C36 57.9853 38.0147 60 40.5 60Z" fill="#B9B9B8"/>
        <path d="M84 55.5C84 57.9853 81.9853 60 79.5 60C77.0147 60 75 57.9853 75 55.5C75 53.0147 77.0147 51 79.5 51C81.9853 51 84 53.0147 84 55.5Z" fill="#B9B9B8"/>
        <path d="M51 75C51 73.6707 51.7114 72.2385 53.3147 71.036C54.9189 69.8329 57.2726 69 60 69C62.7274 69 65.0811 69.8329 66.6853 71.036C68.2886 72.2385 69 73.6707 69 75C69 76.6569 70.3431 78 72 78C73.6569 78 75 76.6569 75 75C75 71.3587 73.0251 68.2909 70.2853 66.236C67.5464 64.1818 63.9001 63 60 63C56.0999 63 52.4536 64.1818 49.7147 66.236C46.9749 68.2909 45 71.3587 45 75C45 76.6569 46.3431 78 48 78C49.6569 78 51 76.6569 51 75Z" fill="#B9B9B8"/>
        <path fillRule="evenodd" clip-rule="evenodd" d="M6 18C6 11.3726 11.3726 6 18 6H34.0294C37.212 6 40.2643 7.26428 42.5147 9.51472L47.4853 14.4853C49.7357 16.7357 52.788 18 55.9706 18H102C108.627 18 114 23.3726 114 30V87C114 93.6274 108.627 99 102 99H18C11.3726 99 6 93.6274 6 87V18ZM108 30V87C108 90.3137 105.314 93 102 93H18C14.6863 93 12 90.3137 12 87V18C12 14.6863 14.6863 12 18 12H34.0294C35.6207 12 37.1469 12.6321 38.2721 13.7574L43.2426 18.7279C46.6183 22.1036 51.1967 24 55.9706 24H102C105.314 24 108 26.6863 108 30Z" fill="#B9B9B8"/>
        <ellipse cx="60" cy="114" rx="30" ry="3" fill="#DCDCDB"/>
      </svg>
    ),
    neutral: (
      <svg width="100%" height="100%" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path d="M6 18C6 11.3726 11.3726 6 18 6H79.0294C82.212 6 85.2643 7.26428 87.5147 9.51472L98.25 20.25L110.485 32.4853C112.736 34.7357 114 37.788 114 40.9706V87C114 93.6274 108.627 99 102 99H18C11.3726 99 6 93.6274 6 87V18Z" fill="white" />
        <path d="M40.5 60C42.9853 60 45 57.9853 45 55.5C45 53.0147 42.9853 51 40.5 51C38.0147 51 36 53.0147 36 55.5C36 57.9853 38.0147 60 40.5 60Z" fill="#B9B9B8" />
        <path d="M84 55.5C84 57.9853 81.9853 60 79.5 60C77.0147 60 75 57.9853 75 55.5C75 53.0147 77.0147 51 79.5 51C81.9853 51 84 53.0147 84 55.5Z" fill="#B9B9B8" />
        <path fillRule="evenodd" clipRule="evenodd" d="M111 33V33.0333C112.928 35.2188 114 38.0394 114 40.9706V87C114 93.6274 108.627 99 102 99H18C11.3726 99 6 93.6274 6 87V18C6 11.3726 11.3726 6 18 6H79.0294C81.9606 6 84.7812 7.07243 86.9667 9H87V9.02946C87.1758 9.18569 87.3475 9.34748 87.5147 9.51472L110.485 32.4853C110.653 32.6525 110.814 32.8242 110.971 33H111ZM12 87C12 90.3137 14.6863 93 18 93H102C105.314 93 108 90.3137 108 87V40.9706C108 40.2933 107.885 39.6278 107.667 39H96C87.7157 39 81 32.2843 81 24V12.3328C80.3722 12.1145 79.7067 12 79.0294 12H18C14.6863 12 12 14.6863 12 18V87ZM102.515 33L87 17.4853V24C87 28.9706 91.0294 33 96 33H102.515Z" fill="#B9B9B8" />
        <path d="M45 69C45 67.3431 46.3431 66 48 66H72C73.6569 66 75 67.3431 75 69C75 70.6569 73.6569 72 72 72H48C46.3431 72 45 70.6569 45 69Z" fill="#B9B9B8" />
        <path fillRule="evenodd" clipRule="evenodd" d="M24 25.5C24 24.6716 24.6716 24 25.5 24L67.5 24C68.3284 24 69 24.6716 69 25.5C69 26.3284 68.3284 27 67.5 27L25.5 27C24.6716 27 24 26.3284 24 25.5Z" fill="#DCDCDB" />
        <path fillRule="evenodd" clipRule="evenodd" d="M24 31.5C24 30.6716 24.6716 30 25.5 30L49.5 30C50.3284 30 51 30.6716 51 31.5C51 32.3284 50.3284 33 49.5 33L25.5 33C24.6716 33 24 32.3284 24 31.5Z" fill="#DCDCDB" />
        <path d="M90 114C90 115.657 76.5685 117 60 117C43.4315 117 30 115.657 30 114C30 112.343 43.4315 111 60 111C76.5685 111 90 112.343 90 114Z" fill="#DCDCDB" />
      </svg>
    ),
  };

  return <>{iconsMoodMap[mood]}</>;
}
